package ModelLayer;

public class Material
   {
    
    private int materialId;
    private String name;
    private String type;
    
    public Material(){}
    
    public Material(int materialId, String name, String type)
    {
        
        this.materialId = materialId;
        this.name = name;
        this.type = type;
    }

    public int getMaterialId()
    {
        return materialId;
    }
    
    public String getMaterialName()
    {
        return name;
    }
    
    public String getMaterialType()
    {
        return type;
    }
    
    public void setMaterialId(int id)
    {
        this.materialId=id;
    }
    
    public void setMaterialName(String name)
    {
        this.name = name;
    }
    
    public void setMaterialType(String type)
    {
        this.type=type;
    }
    
    @Override
    public String toString()
    {
    	return this.name ;
    }
}
